﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using GameEngine.Scenes;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using GameEngine.Managers.IManagers;

namespace PvT.Scenes
{
    public class Future : Scene
    {
        public Future(Game game)
            : base(game)
        {
            this.collisionMap = game.Content.Load<Texture2D>("Scenes/Future/collision");
            this.DeathTrapMap = game.Content.Load<Texture2D>("Scenes/Future/pastDangerZones");
            this.background = game.Content.Load<Texture2D>("Scenes/Future/environment");
            this.ScrollingBackground = new ScrollingBackground(game.GraphicsDevice, game.Content.Load<Texture2D>("Scenes/Future/Parallax"), game);
        }

        public override void PauseAction()
        {
            ISceneManager scene = (ISceneManager)game.Services.GetService(typeof(ISceneManager));
            scene.PushScene(new PauseScreen(game));
        }
    }
}
